/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package open.algo.sort;

/**
 *
 * @author fli
 */
public class Swap {
    public static void swap(int[] a, int i, int j)
    {
        int temp = a[i];
        a[i] = a[j];
        a[j] = temp;
    }

}
